import request from '@/utils/request'

// 根据boxUuid查询content列表
export function listOpen(query) {
  return request({
    url: '/blind/open/appList',
    method: 'get',
    params: query
  })
}

// 修改box_open状态
export function updataBoxOpen(query) {
  return request({
    url: '/blind/open/updataBoxOpen',
    method: 'put',
    params: query
  })
}

// 多选修改box_open状态
export function updateAllBoxOpen(query) {
  return request({
    url: '/blind/open/updateAllBoxOpen',
    method: 'post',
    data: query
  })
}
